from django.db import models
from registration.models import RegistrationProfile
# Create your models here.

class TestInfo(models.Model):
    user = models.ForeignKey(RegistrationProfile, verbose_name = 'user')
    date = models.DateField()
    content = models.CharField(max_length=60)
    order_by_doctor = models.CharField(max_length = 30)
    
    def __unicode__(self):
        return u"Medical Test information for %s, detail: %s" % (self.user.user.username, self.content)

